<template>
	<view class="screen">
		<button @click="PUSHPAGE('/pages/picture/explain')" type="default">讲解涂鸦</button>
		<button @click="PUSHPAGE('/pages/picture/withPainting')">直播带画</button>
		<button @click="PUSHPAGE('/pages/rtcLive')">rtc直播</button>
		<button @click="PUSHPAGE('/pages/seeLive')">rtc观看</button>
		<button @click="PUSHPAGE('/pages/rtcLiveScreen')">rtcLiveScreen</button>
		
		
		<!-- <r-screen ref="screen-recording" @streamStop="streamStop" :fileName="fileName"></r-screen> -->
		
		<!-- screenscreenscreen -->
		<!-- <button type="default">test</button> -->
		
	</view>
</template>

<script>
	// const getModel = uni.requireNativePlugin("yuange-YGVEModule");
	// import rScreen from '@/components/myComponents/rtcScreen.vue'
	export default{
		name:'screen',
		// components:{rScreen},
		data(){
			return{
				
			}
		},
		onLoad() {
			this.init()
			// const _this = this
			// getModel.callNativeRecodeVideo({},(ret) => {
			// 	//返回输出的结果，包含输出的文件所在路径
			// 	_this.title = JSON.stringify(ret);
			// })
		},
		methods:{
			init(){
<<<<<<< HEAD
				let taskScoket = uni.connectSocket({
					url: 'ws://172.16.200.188:3030',
					complete: msg => console.log(msg, 'connectSocketconnectSocketconnectSocketconnectSocketconnectSocketconnectSocket')
				})
				console.log(taskScoket)
				taskScoket.onMessage((e) => {
					console.log(e,'taskScoket.onMessage(e)taskScoket.onMessage(e)taskScoket.onMessage(e)')
				})
=======
				
>>>>>>> 2a13d48d7a774b7fe8fc55b8f63307a92dc31290
			}
		}
	}
</script>

<style lang="scss" scoped>
	.screen{
		
	}
</style>
